package chapter_API_3;

import java.util.*;

public class Test {
	public static void main(String[] args) {
		Integer intValue = Integer.valueOf(21);
		System.out.println(intValue);
		
		Integer intValue2 = Integer.valueOf("21");
		System.out.println(intValue2);
		
		Integer intValue3 = new Integer(21);
		Integer intValue4 = new Integer("21");
		System.out.print(intValue3+"\t");
		System.out.println(intValue4);
		
		Integer integerId = new Integer(25);
		int intId = integerId.intValue();
		Boolean bl = Boolean.valueOf(true);
		boolean bool = bl.booleanValue();
		System.out.println(intId);
		
		Integer intObject = 5;
		int intValue5  = intObject;
		System.out.print(intObject+"\t");
		System.out.println(intValue5);
		
		String str = "36";
		int a = Integer.valueOf(str);
		System.out.println(a);
		
		int b = 25;
		String str2 = String .valueOf(b);
		System.out.print(str2+"\t");
		String str3 = b+"";
		System.out.println(str3);
	}
	

}
